import type { RouteRecordRaw } from "vue-router";
import Layout from '@/components/Layout/index.vue'

const commonRouter: RouteRecordRaw[] = [
    {
        path: '/common',
        children: [
            {
                path: 'domtoimage',
                component: () => import('@/views/common/domToImage.vue')
            }
        ]
    },
    {
        path: '/tocode',
        component: Layout,
        children: [
            {
                path: 'qrcode',
                component: () => import('@/views/common/qrcode.vue')
            }
        ]
    }

]
export default commonRouter